#ifndef DBCONNECTIONCONFIG_H
#define DBCONNECTIONCONFIG_H
#include <string>
#include <vector>
using namespace std;
class DBConnectionConfig
{
public:
    DBConnectionConfig();
    DBConnectionConfig(string connectName);
    DBConnectionConfig(const DBConnectionConfig& conn);
    string connectionString;
    string connectionName;
    string host;
    int port;
    string userName;
    string password;
    string dbName;
    bool isSlaveOk;
    bool isSafeMode;
    int waitQueueSize;
    double timeoutMS;
    bool fsync;
    double connectTimeout;
    string replsetName;
    vector<string> replsetList;
    bool loginAsAdmin;
    bool isReadOnly;
    bool authMode;
    int serverRole;
    bool health;
};

#endif // DBCONNECTIONCONFIG_H
